<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="layout :: htmlhead" th:with="title='留言管理'"></head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header"></div>

    <div class="layui-body" style="margin: 1%">
        <blockquote class="layui-elem-quote">留言管理列表</blockquote>
        <table id="leaveMsgList" lay-filter="leaveMsgTable"></table>

        <script type="text/html" id="optBar">
            <a class="layui-btn layui-btn-xs" lay-event="edit">查看</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>

    </div>

    <!--添加或编辑-->
    <div id="setLeaveMsg" class="layer_self_wrap" style="width:500px;display:none;">
        <form id="msgForm" class="layui-form layui-form-pane" method="post" action="" style="margin-top: 20px;">
            <input id="pageNum" type="hidden" name="pageNum"/>
            <input id="id" type="hidden" name="id"/>


            <div class="layui-form-item" style="margin-left: 20px">
                <label class="layui-form-label">联系电话</label>
                <div class="layui-input-inline" style="width: 370px;margin-right: 0px">
                    <input id="telephone" name="telephone" lay-verify="required" autocomplete="off" class="layui-input"
                           type="text"/>
                </div>
            </div>

            <div class="layui-form-item layui-form-text" style="margin-left: 20px">
                <label class="layui-form-label">留言内容</label>
                <div class="layui-input-block">
                    <textarea id="msgdetail" name="msgdetail"  class="layui-textarea"></textarea>
                </div>
            </div>


        </form>
    </div>


    <!--底部-->
    <div th:replace="fragments/footer :: footer"></div>
    <script src="/js/leaveMsg/leaveMsg.js"></script>

</div>

</body>
</html>